package com.ruoyi.coal.modules.coalpile.domain.vo;


import com.ruoyi.coal.modules.coalpile.domain.PointEntity;
import io.swagger.annotations.ApiModelProperty;

public class CutUpVo {
  private static final long serialVersionUID = 1L;

  @ApiModelProperty("分隔名称")
  private String name;

  @ApiModelProperty("纵向a1点的id")
  private PointEntity xa1;

  @ApiModelProperty("纵向a2点的id")
  private PointEntity xa2;

  @ApiModelProperty("纵向b1点的id")
  private PointEntity xb1;

  @ApiModelProperty("纵向b2点的id")
  private PointEntity xb2;

  @ApiModelProperty("横向a1点的id")
  private PointEntity ya1;

  @ApiModelProperty("横向a2点的id")
  private PointEntity ya2;

  @ApiModelProperty("横向b1点的id")
  private PointEntity yb1;

  @ApiModelProperty("横向b2点的id")
  private PointEntity yb2;

  @ApiModelProperty("煤场id")
  private Integer coalYardId;

  @ApiModelProperty("煤堆密度")
  private Double coalPileDensity;

  @ApiModelProperty("煤堆基准面")
  private Double coalPileGround;

  private Integer cutUpId;

  private Integer measureType;

  private String coalPileVariety;

  public void setName(String name) {
    this.name = name;
  }

  public void setXa1(PointEntity xa1) {
    this.xa1 = xa1;
  }

  public void setXa2(PointEntity xa2) {
    this.xa2 = xa2;
  }

  public void setXb1(PointEntity xb1) {
    this.xb1 = xb1;
  }

  public void setXb2(PointEntity xb2) {
    this.xb2 = xb2;
  }

  public void setYa1(PointEntity ya1) {
    this.ya1 = ya1;
  }

  public void setYa2(PointEntity ya2) {
    this.ya2 = ya2;
  }

  public void setYb1(PointEntity yb1) {
    this.yb1 = yb1;
  }

  public void setYb2(PointEntity yb2) {
    this.yb2 = yb2;
  }

  public void setCoalYardId(Integer coalYardId) {
    this.coalYardId = coalYardId;
  }

  public void setCoalPileDensity(Double coalPileDensity) {
    this.coalPileDensity = coalPileDensity;
  }

  public void setCoalPileGround(Double coalPileGround) {
    this.coalPileGround = coalPileGround;
  }

  public void setCutUpId(Integer cutUpId) {
    this.cutUpId = cutUpId;
  }

  public void setMeasureType(Integer measureType) {
    this.measureType = measureType;
  }

  public void setCoalPileVariety(String coalPileVariety) {
    this.coalPileVariety = coalPileVariety;
  }

  public boolean equals(Object o) {
    if (o == this)
      return true;
    if (!(o instanceof com.ruoyi.coal.modules.coalpile.domain.vo.CutUpVo))
      return false;
    com.ruoyi.coal.modules.coalpile.domain.vo.CutUpVo other = (com.ruoyi.coal.modules.coalpile.domain.vo.CutUpVo)o;
    if (!other.canEqual(this))
      return false;
    Object this$name = getName(), other$name = other.getName();
    if ((this$name == null) ? (other$name != null) : !this$name.equals(other$name))
      return false;
    Object this$xa1 = getXa1(), other$xa1 = other.getXa1();
    if ((this$xa1 == null) ? (other$xa1 != null) : !this$xa1.equals(other$xa1))
      return false;
    Object this$xa2 = getXa2(), other$xa2 = other.getXa2();
    if ((this$xa2 == null) ? (other$xa2 != null) : !this$xa2.equals(other$xa2))
      return false;
    Object this$xb1 = getXb1(), other$xb1 = other.getXb1();
    if ((this$xb1 == null) ? (other$xb1 != null) : !this$xb1.equals(other$xb1))
      return false;
    Object this$xb2 = getXb2(), other$xb2 = other.getXb2();
    if ((this$xb2 == null) ? (other$xb2 != null) : !this$xb2.equals(other$xb2))
      return false;
    Object this$ya1 = getYa1(), other$ya1 = other.getYa1();
    if ((this$ya1 == null) ? (other$ya1 != null) : !this$ya1.equals(other$ya1))
      return false;
    Object this$ya2 = getYa2(), other$ya2 = other.getYa2();
    if ((this$ya2 == null) ? (other$ya2 != null) : !this$ya2.equals(other$ya2))
      return false;
    Object this$yb1 = getYb1(), other$yb1 = other.getYb1();
    if ((this$yb1 == null) ? (other$yb1 != null) : !this$yb1.equals(other$yb1))
      return false;
    Object this$yb2 = getYb2(), other$yb2 = other.getYb2();
    if ((this$yb2 == null) ? (other$yb2 != null) : !this$yb2.equals(other$yb2))
      return false;
    Object this$coalYardId = getCoalYardId(), other$coalYardId = other.getCoalYardId();
    if ((this$coalYardId == null) ? (other$coalYardId != null) : !this$coalYardId.equals(other$coalYardId))
      return false;
    Object this$coalPileDensity = getCoalPileDensity(), other$coalPileDensity = other.getCoalPileDensity();
    if ((this$coalPileDensity == null) ? (other$coalPileDensity != null) : !this$coalPileDensity.equals(other$coalPileDensity))
      return false;
    Object this$coalPileGround = getCoalPileGround(), other$coalPileGround = other.getCoalPileGround();
    if ((this$coalPileGround == null) ? (other$coalPileGround != null) : !this$coalPileGround.equals(other$coalPileGround))
      return false;
    Object this$cutUpId = getCutUpId(), other$cutUpId = other.getCutUpId();
    if ((this$cutUpId == null) ? (other$cutUpId != null) : !this$cutUpId.equals(other$cutUpId))
      return false;
    Object this$measureType = getMeasureType(), other$measureType = other.getMeasureType();
    if ((this$measureType == null) ? (other$measureType != null) : !this$measureType.equals(other$measureType))
      return false;
    Object this$coalPileVariety = getCoalPileVariety(), other$coalPileVariety = other.getCoalPileVariety();
    return !((this$coalPileVariety == null) ? (other$coalPileVariety != null) : !this$coalPileVariety.equals(other$coalPileVariety));
  }

  protected boolean canEqual(Object other) {
    return other instanceof com.ruoyi.coal.modules.coalpile.domain.vo.CutUpVo;
  }

  public int hashCode() {
    int PRIME = 59;
    int result = 1;
    Object $name = getName();
    result = result * 59 + (($name == null) ? 43 : $name.hashCode());
    Object $xa1 = getXa1();
    result = result * 59 + (($xa1 == null) ? 43 : $xa1.hashCode());
    Object $xa2 = getXa2();
    result = result * 59 + (($xa2 == null) ? 43 : $xa2.hashCode());
    Object $xb1 = getXb1();
    result = result * 59 + (($xb1 == null) ? 43 : $xb1.hashCode());
    Object $xb2 = getXb2();
    result = result * 59 + (($xb2 == null) ? 43 : $xb2.hashCode());
    Object $ya1 = getYa1();
    result = result * 59 + (($ya1 == null) ? 43 : $ya1.hashCode());
    Object $ya2 = getYa2();
    result = result * 59 + (($ya2 == null) ? 43 : $ya2.hashCode());
    Object $yb1 = getYb1();
    result = result * 59 + (($yb1 == null) ? 43 : $yb1.hashCode());
    Object $yb2 = getYb2();
    result = result * 59 + (($yb2 == null) ? 43 : $yb2.hashCode());
    Object $coalYardId = getCoalYardId();
    result = result * 59 + (($coalYardId == null) ? 43 : $coalYardId.hashCode());
    Object $coalPileDensity = getCoalPileDensity();
    result = result * 59 + (($coalPileDensity == null) ? 43 : $coalPileDensity.hashCode());
    Object $coalPileGround = getCoalPileGround();
    result = result * 59 + (($coalPileGround == null) ? 43 : $coalPileGround.hashCode());
    Object $cutUpId = getCutUpId();
    result = result * 59 + (($cutUpId == null) ? 43 : $cutUpId.hashCode());
    Object $measureType = getMeasureType();
    result = result * 59 + (($measureType == null) ? 43 : $measureType.hashCode());
    Object $coalPileVariety = getCoalPileVariety();
    return result * 59 + (($coalPileVariety == null) ? 43 : $coalPileVariety.hashCode());
  }

  public String toString() {
    return "CutUpVo(name=" + getName() + ", xa1=" + getXa1() + ", xa2=" + getXa2() + ", xb1=" + getXb1() + ", xb2=" + getXb2() + ", ya1=" + getYa1() + ", ya2=" + getYa2() + ", yb1=" + getYb1() + ", yb2=" + getYb2() + ", coalYardId=" + getCoalYardId() + ", coalPileDensity=" + getCoalPileDensity() + ", coalPileGround=" + getCoalPileGround() + ", cutUpId=" + getCutUpId() + ", measureType=" + getMeasureType() + ", coalPileVariety=" + getCoalPileVariety() + ")";
  }

  public String getName() {
    return this.name;
  }

  public PointEntity getXa1() {
    return this.xa1;
  }

  public PointEntity getXa2() {
    return this.xa2;
  }

  public PointEntity getXb1() {
    return this.xb1;
  }

  public PointEntity getXb2() {
    return this.xb2;
  }

  public PointEntity getYa1() {
    return this.ya1;
  }

  public PointEntity getYa2() {
    return this.ya2;
  }

  public PointEntity getYb1() {
    return this.yb1;
  }

  public PointEntity getYb2() {
    return this.yb2;
  }

  public Integer getCoalYardId() {
    return this.coalYardId;
  }

  public Double getCoalPileDensity() {
    return this.coalPileDensity;
  }

  public Double getCoalPileGround() {
    return this.coalPileGround;
  }

  public Integer getCutUpId() {
    return this.cutUpId;
  }

  public Integer getMeasureType() {
    return this.measureType;
  }

  public String getCoalPileVariety() {
    return this.coalPileVariety;
  }
}
